//
//  TLoginModel.h
//  Tikeyc
//
//  Created by ways on 16/8/26.
//  Copyright © 2016年 tikeyc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TUserInfoModelResult : NSObject
////////服务器返回数据
@property (nonatomic,copy)NSString *userId;
@property (nonatomic,copy)NSString *nickname;
@property (nonatomic,copy)NSNumber *sex;//性别
@property (nonatomic,copy)NSNumber *communityId;//小区ID
@property (nonatomic,copy)NSString *roomNum;//房号

@end

@interface TUserInfoModel : NSObject

////////用于记录输入框内容
//登陆时输入的内容
@property (nonatomic,copy)NSString *userName;
@property (nonatomic,copy)NSString *userPassword;

//第一次登陆成功修改用户信息时输入的内容
@property (nonatomic,copy)NSString *nickname;//昵称
@property (nonatomic,copy)NSNumber *sex;//性别
@property (nonatomic,copy)NSNumber *communityId;//小区ID
@property (nonatomic,copy)NSString *roomNum;//房号

////////服务器返回数据
@property (nonatomic,copy)NSNumber *msgCode;
@property (nonatomic,copy)NSString *message;
@property (nonatomic,strong)TUserInfoModelResult *result;

@end
